home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1128 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.8 KB

  1. Date: Thu, 3 Mar 1994 18:49:10 -0500
  2. From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
  3. To: nox@jelal.north.de
  4. In-Reply-To: Juergen Lock's message of Thu, 3 Mar 94 19:58:24 CET <9403031858.AA00174@jelal.north.de>
  5. Subject: another 1.10 job control bug?
  6.  
  7. > i think the problem was when there are several processes in a group the
  8. >leader isn't always the one that exits last, and then you could no longer
  9. >signal the others from the terminal after that. (^c, ^z, ...)  of course
  10. >you could say the parent should always catch SIGCHLD and then TIOCSPGRP
  11. >whenever the first process in a pipe (for example) exited but somehow i
  12. >doubt thats a real solution...  (although i did put such a hack in ksh
  13. >first... :)
  14.  
  15. That is exactly the problem, but I'm not sure I like the proposed
  16. solution.
  17.  
  18. Is there any situation where a process group leader exits and you
  19. still want processes in that group to be allowed to access the tty?
  20. My brain gets tied up in knots when I try to follow what POSIX says
  21. about this sort of thing, especially since POSIX constantly refers to
  22. sessions and MiNT doesn't have sessions.  But I *think* that once the
  23. process group leader has exited, all remaining processes in that
  24. process group should be denied access to the terminal (by getting EIO
  25. in response to any attempted read or write).  But MiNT doesn't have
  26. EIO currently, and I'm not sure how programs that aren't expecting it
  27. will respond if it is suddenly added.
  28.  
  29. Am I making any sense?  Maybe we really need to add the concept of a
  30. session to MiNT in order to get job control working in a sane manner...
  31.  
  32. --
  33. entropy -- it's not just a good idea, it's the second law.
  34. Personal mail:      entropy@gnu.ai.mit.edu
  35. MiNT library mail:  entropy@terminator.rs.itd.umich.edu
  36. "what do you have against octal?" -jrb
  37.  
  38.